package org.NooLab.itexx.storage.nodes;

import org.NooLab.itexx.storage.DataBaseAccessDefinitionIntf;




public class SomTexxProperties implements SomTexxPropertiesIntf{

	
	String context = "" ;
	private DataBaseAccessDefinitionIntf dataBaseAccessDef;
	private long somId;
	private String nodesDataBaseName;
	private String storageDir;
	private String docSomDatabase;
	private DataBaseAccessDefinitionIntf docsomDataBaseAccessDef;
	
	
	// ========================================================================
	public SomTexxProperties(){
		
	}
	// ========================================================================
	
	
	@Override
	public String getContext() {
		// 
		return context;
	}


	@Override
	public void setContext(String context) {
		this.context = context;
	}

	@Override
	public void setDatabaseAccessSettings( DataBaseAccessDefinitionIntf  dbAccess) {
		dataBaseAccessDef = dbAccess ;
	}
	
	@Override
	public DataBaseAccessDefinitionIntf getDatabaseAccessSettings() {
		return dataBaseAccessDef ;
	}

	@Override
	public void setSomId(long somid) {
		somId  = somid ;
	}
	
	@Override
	public long getSomId() {
		return somId;
	}


	@Override
	public String getNodesSomDataBaseName() {
		return nodesDataBaseName;
	}

	@Override
	public void setNodesSomDataBaseName(String dbname) {
		nodesDataBaseName = dbname;
	}

	@Override
	public String getStorageDir() {
		return storageDir;
	}

	@Override
	public String setStorageDir(String storagedir) {
		return storageDir = storagedir;
	}


	public void setDocSomDataBaseName(String docsomDb) {
		// 
		docSomDatabase = docsomDb;
	}
	
	public String getDocSomDataBaseName() {
		// 
		return docSomDatabase; 
	}
	
	
	@Override
	public DataBaseAccessDefinitionIntf getDocSomDatabaseAccessSettings() {
		return docsomDataBaseAccessDef;
	}
	
	@Override
	public void setDocSomDatabaseAccessSettings(DataBaseAccessDefinitionIntf dbAccess) {
		docsomDataBaseAccessDef = dbAccess ;
 	}
	

	
}
